package cdu.notFound.service;

import cdu.notFound.Dao.ShopCartDao;
import cdu.notFound.Dao.impl.ShopCartDaoImpl;
import cdu.notFound.model.Goods;
import cdu.notFound.model.User;

import java.util.List;

public interface ShopCartService {
    Integer getShopCartNum(int id);
    boolean doSaveShoppingCart( int goodsId,int userId);
    List<Goods> findGoodsByUser(User user);
    boolean removeList(int goodId,int userId);
}
